package lesson6;


import com.example.workshop.Filter;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;


@Component
//@Primary
@Qualifier("CF")
public class CollaborativeFilter implements Filter {
    public String[] getRecommendations(String movie){
        return new String[]{"Finding Nemo","Ice Age","Toy Story"};
    }
}